package com.wangjiacai.utils.converter;

import java.util.List;
import java.util.concurrent.Executor;

public interface Converter<S, T> {

    List<T> converterToList(List<S> sList, Executor executor);

    List<T> converterToListSync(List<S> sList);

    T converterTo(S s, Executor executor);

    T converterToSync(S s);
}
